package com.ruoyi.bl.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单商品对象 gas_order_goods
 * 
 * @author ruoyi
 * @date 2023-08-11
 */
public class BlOrderGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表id自增 */
    private Long orderGoodsId;

    private Long deptId;

    /** 订单id */
    private Long orderId;

    /** 供应商id */
    private Long supplierId;

    /** 配送单据id */
    private Long deliveryOrderId;

    /** 商品id */
    private Long goodsId;

    /** 库存ID */
    private Long storeId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品货号 */
    @Excel(name = "商品货号")
    private String goodsSn;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String originalImg;

    /** 购买数量 */
    @Excel(name = "购买数量")
    private Integer goodsNum;

    /** 商品价 */
    @Excel(name = "商品价")
    private BigDecimal goodsPrice;

    /** 会员折扣价 */
    @Excel(name = "会员折扣价")
    private BigDecimal memberGoodsPrice;

    /** 对应瓶条码 */
    @Excel(name = "对应瓶条码")
    private String barCode;

    /** 0未发货，1已发货，2已换货，3已退货 */
    @Excel(name = "0未发货，1已发货，2已换货，3已退货")
    private Integer isSend;

    public Long getOrderGoodsId() {
        return orderGoodsId;
    }

    public void setOrderGoodsId(Long orderGoodsId) {
        this.orderGoodsId = orderGoodsId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getDeliveryOrderId() {
        return deliveryOrderId;
    }

    public void setDeliveryOrderId(Long deliveryOrderId) {
        this.deliveryOrderId = deliveryOrderId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsSn() {
        return goodsSn;
    }

    public void setGoodsSn(String goodsSn) {
        this.goodsSn = goodsSn;
    }

    public String getOriginalImg() {
        return originalImg;
    }

    public void setOriginalImg(String originalImg) {
        this.originalImg = originalImg;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getMemberGoodsPrice() {
        return memberGoodsPrice;
    }

    public void setMemberGoodsPrice(BigDecimal memberGoodsPrice) {
        this.memberGoodsPrice = memberGoodsPrice;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public Integer getIsSend() {
        return isSend;
    }

    public void setIsSend(Integer isSend) {
        this.isSend = isSend;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderGoodsId", getOrderGoodsId())
            .append("deptId", getDeptId())
            .append("orderId", getOrderId())
            .append("deliveryOrderId", getDeliveryOrderId())
            .append("goodsId", getGoodsId())
            .append("storeId", getStoreId())
            .append("goodsName", getGoodsName())
            .append("goodsSn", getGoodsSn())
            .append("originalImg", getOriginalImg())
            .append("goodsNum", getGoodsNum())
            .append("goodsPrice", getGoodsPrice())
            .append("memberGoodsPrice", getMemberGoodsPrice())
            .append("barCode", getBarCode())
            .append("isSend", getIsSend())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
